module.exports = Random;

function Random(){
    this._seed = process.hrtime()[0];
}
Random.prototype.randomInt = function(min,max){
	this._seed = this._seed*214013+2531011;
	return min+(this._seed)%(max-min+1);
};
Random.prototype.randomSet = function(n){
    this._seed = n;
}